<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>服务点编辑</title>
  <t:base type="jquery,easyui,tools"></t:base>
  <script type="text/javascript">
  $(function() {
		 $("#isWork").val("${tmblWorkPlacePage.isWork}");
	
		$('#cc').combotree({
			url : 'tmblWorkPlaceController.do?setPFunction&selfId=${tmblWorkPlace.id}',
          width: 155,
          onSelect : function(node) {
        	  $("#wid").val(node.id);
          }
			
      });
		
	});

  </script>
 </head>
<body>
		<t:formvalid formid="formobj" dialog="true"  layout="table" action="tmblWorkPlaceController.do?doUpdate"  >
					<input id="id" name="id" type="hidden" value="${tmblWorkPlacePage.id }">
		<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
					<tr>
						<td align="right">
							<label class="Validform_label">
								序号:
							</label>
						</td>
						<td class="value">
							<label>${tmblWorkPlacePage.code}</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								服务点名称:
							</label>
						</td>
						<td class="value">
						    <input id="workplace" name="workplace" type="text" style="width: 300px" class="inputxt" datatype="*" value='${tmblWorkPlacePage.workplace}'>
							<span class="Validform_checktip"></span>
							
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								所属地区:
							</label>
						</td>
						<td class="value">
						       <label class="Validform_label">  </label>
						       <input type="hidden" id="wid"  name="tmblWorkPlace.id" value="${tmblWorkPlacePage.tmblWorkPlace.id }" >
            					<input id="cc" value="${tmblWorkPlacePage.tmblWorkPlace.workplace }" >
       					</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								服务点地址:
							</label>
						</td>
						<td class="value">
						    <input id="address" name="address" type="text" style="width: 300px" class="inputxt" datatype="*" ignore="ignore" value='${tmblWorkPlacePage.address}'>
							<span class="Validform_checktip"></span>
							
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								服务电话:
							</label>
						</td>
						<td class="value">
						    <input id="telephone" name="telephone" type="text" style="width: 300px" class="inputxt" datatype="*" ignore="ignore" value='${tmblWorkPlacePage.telephone}'>
							<span class="Validform_checktip"></span>
							
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								运营状况:
							</label>
						</td>
						<td class="value">
		            <select name="isWork" id="isWork"  >
			            <option value="1">在运营</option>
			            <option value="0">不在运营</option>
		            </select>
			<span class="Validform_checktip"><t:mutiLang langKey="请选择运行状况"/></span>
							<span class="Validform_checktip"></span>
							
						</td>
					</tr>
			</table>
		</t:formvalid>
 </body>
  <script src = "webpage/com/estar/wx/bbw/workPlace/tmblWorkPlace.js"></script>		
</html>